
public class Test {
    public static void main(String[] args) {
        MySingleList list = new MySingleList();
        /*list.createList();
        list.display();*/
        //System.out.println(list.size());
       list.addLast(1);
       list.addLast(2);
       list.addLast(3);
       list.addLast(4);
       list.display();
       list.remove(1);
       list.display();
    }
}
